package com.JsonGetter;

import cn.hutool.http.HttpUtil;
import cn.hutool.json.JSONUtil;
import com.JsonUtils.OnePicture.OnePic;

/**
 * @author Lenovo
 */
public class Test {
    public static void main(String[] args) {
        String get = "{\n" +
                "    \"log_id\": 620759800,\n" +
                "    \"words_result\": [\n" +
                "        {\n" +
                "            \"location\": {\n" +
                "                \"left\": 56,\n" +
                "                \"top\": 0,\n" +
                "                \"width\": 21,\n" +
                "                \"height\": 210\n" +
                "            },\n" +
                "            \"words\": \"3\"\n" +
                "        }\n" +
                "    ],\n" +
                "    \"words_result_num\": 1\n" +
                "}";
        var format = Getter.getWord(get);
        System.out.println(format.getAll());
//        String get = HttpUtil.get("https://widget.cifuwu.com/idcard/360702200108201015");
//        var format = Getter.getIdCard(get);
//        System.out.println(format.getData().getAreaInfo().getCity());
    }
}
